package com.xxd.spring.boot.demo.zhuhongbing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxd.spring.boot.demo.zhuhongbing.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface StudentMapper extends BaseMapper<Student> {
    public IPage<Student> listPage (Page page, @Param("student") Map<String,Object> map);

    public int insertData (@Param("student") Student studentEntity);

    public int MyUpdateById (@Param("student") Student studentEntity);


    public int deleteById (@Param("id") Integer id);
}
